package com.zzj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zzj.entity.Post;
import com.zzj.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzj.model.dto.QueryListDto;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-07-17
 */
public interface IUserService extends IService<User> {
    User findByUsername(String username);
    User findByEmail(String email);
    User findById(int id);
    User findByOpenid(String openid);

    IPage<User> queryList(QueryListDto in);


}
